@charset "utf-8";
.main{
    max-width: 750px;
    min-width: 300px;
    margin: 0 auto;
}
.header{
    width: 100%;
    height: 50px;
    line-height: 50px;
    background: #f4f4f4;
}
.header .logo{
    width: 50px;
    float: left;
    margin-left: 7px;
}
.header .search{
    float: left;
    width: 45%;
    height: 40px;
    line-height: 30px;
    padding-top: 5px;
    margin-left: 5px;
    border-bottom: 1px solid #ddd;
    color: #dddddd;
}
.header a.iconfont {
    padding: 0 3px;
    font-size: 30px;
    color: red;
    float: right;
}
.container{
    width: 100%;
}
nav {
    width: 100%;
    float: left;
    padding-top: 5px;
}
nav .icon{
    width: 25%;
    text-align: center;
    float: left;
}
nav a{
    margin: 0 auto;
    display: block;
}
nav a img{
    width: 40px;
    height: 40px;
}
nav a .txt {
    font-size: 8px;
    line-height: 16px;
    color: #666;
}
section {
    width: 100%;
    background: #fff;
    float: left;
    margin-top: 7px;
}
section .title {
    width: 100%;
    padding-left: 8px;
    float: left;
    line-height: 26px;
    border-top: 2px solid #eee;
}
section .title .txt {
    border-left: 0.1rem solid #e6133c;
    padding-left: 8px;
}
section ul.item {
    width: 100%;
    padding: 0 7px;
    list-style: none;
}
section ul.item li {
    width: 50%;
    padding: 1%;
    float: left;
    border: solid #ddd;
    border-width: 1px 1px 0 0;
    text-align: center;
}
section ul.item a {
    margin: 0 auto;
    display: block;
}
section ul.item img {
    width: 130px;
    height: 130px;
}
section ul.item li .txt {
    font-size: 12px;
    color: #333;
    height: 28px;
    line-height: 28px;
    margin-left: -100px;
}
section ul.item li .price {
    font-size: 15px;
    color: #ff0000;
    margin-left: -30px;
}
section ul.item li .buy {
    line-height: 26px;
    text-align: center;
    font-size: 11px;
    border: 0;
    width: 90%;
    background:#fe5b4a;
    color:#fff;
    margin-top: 3px;
}
footer {
    margin-top: 7px;
    width: 100%;
    float: left;
    position: relative;
}
footer a{
    position: absolute;
    left: 50%;
    margin-left: -24px;
    text-decoration: underline;
    color: #00bfff;
}
